﻿@model Aga.GestionDeArchivos.Web.Models.Estanterias.CreateModel
@{
    ViewBag.Title = "Crear Nueva Estantería";
    Layout = "~/Views/Shared/_InternalLayout.cshtml";
}
<div id="content">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="box-style1">
        <tr>
            <td id="box2">
                <h2>
                    Crear Nueva Estantería</h2>
                @using (Html.BeginForm())
                {
                    @Html.ValidationSummary(true)

                    <p>
                        @Html.LabelFor(model => model.Numero):
                        <br />
                        @Html.TextBoxFor(model => model.Numero, new { @readonly = "true", disabled="disabled" })
                        <br />
                        @Html.LabelFor(model => model.DepositoId):
                        <br />
                        @Html.DropDownListFor(model => model.DepositoId, Model.Depositos)
                        @Html.ValidationMessageFor(model => model.DepositoId)
                        <br />
                        @Html.LabelFor(model => model.Sectores):
                        <br />
                        @Html.EditorFor(model => model.Sectores, new { @readonly = "true", disabled = "disabled" })
                        @Html.ValidationMessageFor(model => model.Sectores)
                        <br />
                        @Html.LabelFor(model => model.Horizontal):
                        <br />
                        @Html.EditorFor(model => model.Horizontal)
                        @Html.ValidationMessageFor(model => model.Horizontal)
                        <br />
                        @Html.LabelFor(model => model.Vertical):
                        <br />
                        @Html.EditorFor(model => model.Vertical)
                        @Html.ValidationMessageFor(model => model.Vertical)
                        <br />
                        @Html.LabelFor(model => model.Fondo):
                        <br />
                        @Html.EditorFor(model => model.Fondo)
                        @Html.ValidationMessageFor(model => model.Fondo)
                    </p>
                    <p class="buttons alignleft">
                        @Html.ActionLink("Cancelar", "Index")
                        <input type="submit" value="Crear" />
                    </p>
                }
            </td>
        </tr>
    </table>
</div>
